const path = require('path');

const root = path.resolve(__dirname, '../');
const resolve = file => path.resolve(root, file);

const projectMap = {

};


function calculateGeneratedFilePath(project) {
	if (!project) {
		return './dist/';
	}
	// todo
}

/**
 * 组合文件路径, 根据 project 配置 map 文件的路径
 */
function combineFilePath(project, fileName) {
	const filePath = calculateGeneratedFilePath(project);
	return resolve(filePath + fileName);
}


module.exports = combineFilePath;
